package org.lwd.datalink.mapper;

import org.lwd.datalink.domain.media.MediaColumnMappingInfo;
import org.lwd.datalink.domain.media.MediaInfo;
import org.lwd.datalink.domain.media.MediaMappingInfo;
import org.lwd.datalink.domain.media.MediaSourceInfo;

import java.util.List;

/**
 * @Author: weidong.lin
 * @Description: 介质定义 Dao 接口
 * @Date: create in 2024/4/2 13:59
 */
public interface MediaMapper {

    MediaInfo findMediaById(long id);

    MediaSourceInfo findMediaSourceById(Long id);

    List<MediaMappingInfo> findMediaMappingsByTaskId(Long taskId);

    MediaMappingInfo findMediaMappingsById(long id);

    List<MediaColumnMappingInfo> findMediaColumnByMappingId(long mappingId);

    List<Long> findTaskIdsByMediaSourceId(Long mediaSourceId);

}
